Class HCC.Interface.Transform.spec Extends %REST.Spec [ ProcedureBlock ]
{

XData OpenAPI [ MimeType = application/json ]
{
{
  "swagger":"2.0",
  "info":{
    "title":"xml2hl7",
    "version":"1.0"
  },
  "basePath":"/hcc/dtl",
  "schemes":[
    "http"
  ],
  "paths":{
    "/NewCheckRequst":{
      "post":{
        "description":"检查申请单新增",
        "tags":[
          "NewCheckRequst"
        ],
        "operationId":"NewCheckRequst",
        "produces":[
          "application/xml"
        ],
        "parameters":[
          {
            "name":"body",
            "in":"body",
            "description":"文档路径",
            "required":true,
            "schema":{
              "$ref":"#/definitions/MockTest"
            }
          }
        ],
        "responses":{
          "200":{
            "$ref":"#/responses/MockTestResponse"
          },
          "500":{
            "$ref":"#/responses/Standard500ErrorResponse"
          }
        }
      }
    },
    "/NewBloodProdRequst":{
      "post":{
        "description":"输血申请单新增",
        "tags":[
          "NewBloodProdRequst"
        ],
        "operationId":"NewBloodProdRequst",
        "produces":[
          "application/xml"
        ],
        "parameters":[
          {
            "name":"body",
            "in":"body",
            "description":"文档路径",
            "required":true,
            "schema":{
              "$ref":"#/definitions/MockTest"
            }
          }
        ],
        "responses":{
          "200":{
            "$ref":"#/responses/MockTestResponse"
          },
          "500":{
            "$ref":"#/responses/Standard500ErrorResponse"
          }
        }
      }
    },
    "/NewOrderRequst":{
      "post":{
        "description":"医嘱信息新增",
        "tags":[
          "NewOrderRequst"
        ],
        "operationId":"NewOrderRequst",
        "produces":[
          "application/xml"
        ],
        "parameters":[
          {
            "name":"body",
            "in":"body",
            "description":"文档路径",
            "required":true,
            "schema":{
              "$ref":"#/definitions/MockTest"
            }
          }
        ],
        "responses":{
          "200":{
            "$ref":"#/responses/MockTestResponse"
          },
          "500":{
            "$ref":"#/responses/Standard500ErrorResponse"
          }
        }
      }
    },
    "/NewPathTestRequst":{
      "post":{
        "description":"病理申请单新增",
        "tags":[
          "NewPathTestRequst"
        ],
        "operationId":"NewPathTestRequst",
        "produces":[
          "application/xml"
        ],
        "parameters":[
          {
            "name":"body",
            "in":"body",
            "description":"文档路径",
            "required":true,
            "schema":{
              "$ref":"#/definitions/MockTest"
            }
          }
        ],
        "responses":{
          "200":{
            "$ref":"#/responses/MockTestResponse"
          },
          "500":{
            "$ref":"#/responses/Standard500ErrorResponse"
          }
        }
      }
    },
    "/OrderStatusUpdate":{
      "post":{
        "description":"医嘱执行状态信息更新",
        "tags":[
          "OrderStatusUpdate"
        ],
        "operationId":"OrderStatusUpdate",
        "produces":[
          "application/xml"
        ],
        "parameters":[
          {
            "name":"body",
            "in":"body",
            "description":"文档路径",
            "required":true,
            "schema":{
              "$ref":"#/definitions/MockTest"
            }
          }
        ],
        "responses":{
          "200":{
            "$ref":"#/responses/MockTestResponse"
          },
          "500":{
            "$ref":"#/responses/Standard500ErrorResponse"
          }
        }
      }
    },
    "/PatInfoUpdRequst":{
      "post":{
        "description":"个人信息更新",
        "tags":[
          "PatInfoUpdRequst"
        ],
        "operationId":"PatInfoUpdRequst",
        "produces":[
          "application/xml"
        ],
        "parameters":[
          {
            "name":"body",
            "in":"body",
            "description":"文档路径",
            "required":true,
            "schema":{
              "$ref":"#/definitions/MockTest"
            }
          }
        ],
        "responses":{
          "200":{
            "$ref":"#/responses/MockTestResponse"
          },
          "500":{
            "$ref":"#/responses/Standard500ErrorResponse"
          }
        }
      }
    },
    "/PatMergRequst":{
      "post":{
        "description":"个人信息合并",
        "tags":[
          "PatMergRequst"
        ],
        "operationId":"PatMergRequst",
        "produces":[
          "application/xml"
        ],
        "parameters":[
          {
            "name":"body",
            "in":"body",
            "description":"文档路径",
            "required":true,
            "schema":{
              "$ref":"#/definitions/MockTest"
            }
          }
        ],
        "responses":{
          "200":{
            "$ref":"#/responses/MockTestResponse"
          },
          "500":{
            "$ref":"#/responses/Standard500ErrorResponse"
          }
        }
      }
    },
    "/PatientInfoQuery":{
      "post":{
        "description":"个人信息查询",
        "tags":[
          "PatientInfoQuery"
        ],
        "operationId":"PatientInfoQuery",
        "produces":[
          "application/xml"
        ],
        "parameters":[
          {
            "name":"body",
            "in":"body",
            "description":"文档路径",
            "required":true,
            "schema":{
              "$ref":"#/definitions/MockTest"
            }
          }
        ],
        "responses":{
          "200":{
            "$ref":"#/responses/MockTestResponse"
          },
          "500":{
            "$ref":"#/responses/Standard500ErrorResponse"
          }
        }
      }
    },
    "/PatientInfoRegister":{
      "post":{
        "description":"个人信息注册",
        "tags":[
          "PatientInfoRegister"
        ],
        "operationId":"PatientInfoRegister",
        "produces":[
          "application/xml"
        ],
        "parameters":[
          {
            "name":"body",
            "in":"body",
            "description":"文档路径",
            "required":true,
            "schema":{
              "$ref":"#/definitions/MockTest"
            }
          }
        ],
        "responses":{
          "200":{
            "$ref":"#/responses/MockTestResponse"
          },
          "500":{
            "$ref":"#/responses/Standard500ErrorResponse"
          }
        }
      }
    }
  },
  "definitions":{
    "MockTest":{
      "type":"string"
    },
    "error":{
      "properties":{
        "code":{
          "type":"string"
        },
        "message":{
          "type":"string"
        }
      }
    },
    "ok":{
      "properties":{
        "hostname":{
          "type":"string"
        },
        "totalCount":{
          "type":"integer"
        }
      }
    }
  },
  "responses":{
    "Standard500ErrorResponse":{
      "description":"标准500错误响应",
      "schema":{
        "$ref":"#/definitions/error"
      }
    },
    "MockTestResponse":{
      "description":"Response的响应消息",
      "schema":{
        "$ref":"#/definitions/ok"
      }
    }
  }
}
}

}
